
[#include "single/layout/layout02/layout.ftl"/]
[@htmlHead]

[/@htmlHead]

[@htmlBody]
<div class="col-xs-12">
<form class="form-horizontal" action="${base}/mail/view/findName" method="post" id="editForm">
    <div class="form-group">
        <label class="col-xs-3 control-label ">需要修改密码的登录名</label>

        <div  class="col-xs-7">
            <input name="userName"  placeholder="登录名"
                   class="form-control input-large" maxlength="20"/>
        </div>
        <div class="col-xs-2">
            <input type="button" class="btn btn-info btn-sm"  value="继续" onclick="doSubmit()"/>
        </div>
    </div>
</form>
</div>
[/@htmlBody]

[@htmlFoot]
[#include "common/validate.ftl"/]
<script type="text/javascript">
    function doSubmit(){
        if (!formCheck().form()) {
            return;
        }
        $("#editForm").submit();
    }


    function formCheck() {
        return $('#editForm').validate({
            rules: {
                name: {
                    maxlength:[24],
                    required:true
                }
            }
        });
    }

</script>


[/@htmlFoot]